package com.lyf.learn.atsgg.spring.newfunction.nullable;

import org.springframework.context.support.GenericApplicationContext;
import org.springframework.lang.Nullable;

/**
 * @AUTHOR LYF
 * @DATE 2022/5/27
 * @VERSION 1.0
 * @DESC
 */
public class TestDemo {
    void method1(@Nullable String param1,String param2){
        System.out.println(param1+param2);
    }
    void method2(String param1,String param2){
        System.out.println(param1+param2);
    }

    public static void main(String[] args) {
        TestDemo testDemo = new TestDemo();
        testDemo.method1(null,"hello");
        testDemo.method2(null,"hello");

        GenericApplicationContext
                context = new GenericApplicationContext();
        context.refresh();
        //context.registerBean();

    }


}
